package cn.circle.system.service;

import java.util.List;

//import cn.circle.commom.model.Apartment;
import cn.circle.system.model.OrderInfo;
import cn.circle.system.pagemodel.DataGrid;
import cn.circle.system.pagemodel.PageHelper;

/**
 * 
 * @author 
 * 时间：
 */
public interface IOrderInfoService {

/*	DataGrid datagrid(PageHelper ph, OrderInfo o,String begin_time,String end_time,Integer depId);*/
	DataGrid datagrid(PageHelper ph, OrderInfo o,String begin_time,String end_time);
	void save(OrderInfo o);

	void deleteAll(String ids);

	void removeAll(String ids);

	void update(OrderInfo o);

//	List<Apartment> getOne(String id);
	
	List<OrderInfo> getOrder(Long id); 
	 
	List<OrderInfo> findMyOrder(Integer custId);
	
	void updateStatus(String ids);
	
	List<OrderInfo> waitTheGoods(Integer custId);
	
	List<OrderInfo> waitCargo(Integer custId);
	
	List<OrderInfo> waitComm(Integer custId);
	
	List<OrderInfo> waitPay(Integer custId);
	void confirm(Long orderId);
	
	
}     
